package com.geologyoa.servlet;

import java.io.IOException;
import java.io.PrintWriter;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.geologyoa.domain.Xmqk01;
import com.geologyoa.service.SystemManager;
import com.geologyoa.service.SystemManagerImpl;

public class AddXmqk01Servlet extends HttpServlet {
	public void doGet(HttpServletRequest request, HttpServletResponse response)
			throws ServletException, IOException {
      doPost(request,response);
	}
	public void doPost(HttpServletRequest request, HttpServletResponse response)
			throws ServletException, IOException {
		SystemManager sys=new SystemManagerImpl();
		Xmqk01 xmqk01=new Xmqk01();
		String xmqk01002=request.getParameter("XMQK01002");
		String xmqk01003=request.getParameter("XMQK01003");
		String xmqk01004=request.getParameter("XMQK01004");
		String xmqk01005=request.getParameter("XMQK01005");
		String xmqk01006=request.getParameter("XMQK01006");
		String xmqk01007=request.getParameter("XMQK01007");
		String xmqk01008=request.getParameter("XMQK01008");
		String xmqk01009=request.getParameter("XMQK01009");
		String xmqk01010=request.getParameter("XMQK01010");
		String xmqk01011=request.getParameter("XMQK01011");
		String xmqk01012=request.getParameter("XMQK01012");
		String xmqk01013=request.getParameter("XMQK01013");
		String xmqk01014=request.getParameter("XMQK01014");
		String xmqk01015=request.getParameter("XMQK01015");
		String xmqk01016=request.getParameter("XMQK01016");
		Double xmqk01017=Double.valueOf(request.getParameter("XMQK01017").equals("")?"0":request.getParameter("XMQK01017")); 
		Double xmqk01018=Double.valueOf(request.getParameter("XMQK01018").equals("")?"0":request.getParameter("XMQK01018"));
		Double xmqk01019=Double.valueOf(request.getParameter("XMQK01019").equals("")?"0":request.getParameter("XMQK01019"));
		Double xmqk01020=Double.valueOf(request.getParameter("XMQK01020").equals("")?"0":request.getParameter("XMQK01020")); 
		Double xmqk01021=Double.valueOf(request.getParameter("XMQK01021").equals("")?"0":request.getParameter("XMQK01021")); 
		Double xmqk01022=Double.valueOf(request.getParameter("XMQK01022").equals("")?"0":request.getParameter("XMQK01022")); 
		Double xmqk01023=Double.valueOf(request.getParameter("XMQK01023").equals("")?"0":request.getParameter("XMQK01023")); 
		Double xmqk01024=Double.valueOf(request.getParameter("XMQK01024").equals("")?"0":request.getParameter("XMQK01024")); 
		String xmqk01025=request.getParameter("XMQK01025");
		String xmqk01026=request.getParameter("XMQK01026");
		String xmqk01027=request.getParameter("XMQK01027");
		String xmqk01028=request.getParameter("XMQK01028");
		String xmqk01029=request.getParameter("XMQK01029");
		String xmqk01030=request.getParameter("XMQK01030");
		String xmqk01031=request.getParameter("XMQK01031");
		String xmqk01032=request.getParameter("XMQK01032");
		String xmqk01033=request.getParameter("XMQK01033");
		String xmqk01034=request.getParameter("XMQK01034");
		String xmqk01035=request.getParameter("XMQK01035");
		String xmqk01036=request.getParameter("XMQK01036"); 
		Double xmqk01037=Double.valueOf(request.getParameter("XMQK01037").equals("")?"0":request.getParameter("XMQK01037")).doubleValue(); 
		String xmqk01038=request.getParameter("XMQK01038");
		String xmqk01039=request.getParameter("XMQK01039");
		String xmqk01040=request.getParameter("XMQK01040");
		String xmqk01041=request.getParameter("XMQK01041");
		String xmqk01042=request.getParameter("XMQK01042");
		Double xmqk01043=Double.valueOf(request.getParameter("XMQK01043").equals("")?"0":request.getParameter("XMQK01043")).doubleValue();
		Double xmqk01044=Double.valueOf(request.getParameter("XMQK01044").equals("")?"0":request.getParameter("XMQK01044")).doubleValue(); 
		Double xmqk01045=Double.valueOf(request.getParameter("XMQK01045").equals("")?"0":request.getParameter("XMQK01045")).doubleValue();   
		Double xmqk01046=Double.valueOf(request.getParameter("XMQK01046").equals("")?"0":request.getParameter("XMQK01046")).doubleValue(); 
		Double xmqk01047=Double.valueOf(request.getParameter("XMQK01047").equals("")?"0":request.getParameter("XMQK01047")).doubleValue(); 
		String xmqk01048=request.getParameter("XMQK01048");
		String xmqk01049=request.getParameter("XMQK01049");
		String xmqk01050=request.getParameter("XMQK01050");
		String xmqk01051=request.getParameter("XMQK01051");
		String xmqk01052=request.getParameter("XMQK01052");
		String xmqk01053=request.getParameter("XMQK01053");
		String xmqk01054=request.getParameter("XMQK01054");
		String xmqk01055=request.getParameter("XMQK01055");
		String xmqk01056=request.getParameter("XMQK01056");
		String xmqk01057=request.getParameter("XMQK01057");
		String xmqk01058=request.getParameter("XMQK01058");
		String xmqk01059=request.getParameter("XMQK01059");
		Double xmqk01060=Double.valueOf(request.getParameter("XMQK01060").equals("")?"0":request.getParameter("XMQK01060")).doubleValue();
		String xmqk01061=request.getParameter("XMQK01061");
		String xmqk01062=request.getParameter("XMQK01062");
		String xmqk01063=request.getParameter("XMQK01063");
		String xmqk01064=request.getParameter("XMQK01064");
		String xmqk01065=request.getParameter("XMQK01065");
		String xmqk01066=request.getParameter("XMQK01066");
		String xmqk01067=request.getParameter("XMQK01067");
		String xmqk01068=request.getParameter("XMQK01068");
		String xmqk01069=request.getParameter("XMQK01069");
		String xmqk01070=request.getParameter("XMQK01070");
		String xmqk01071=request.getParameter("XMQK01071");
		String xmqk01072=request.getParameter("XMQK01072");
		Double xmqk01073=Double.valueOf(request.getParameter("XMQK01073").equals("")?"0":request.getParameter("XMQK01073")).doubleValue();
		String xmqk01074=request.getParameter("XMQK01074");
		String xmqk01075=request.getParameter("XMQK01075");
		String xmqk01076=request.getParameter("XMQK01076");
		String xmqk01077=request.getParameter("XMQK01077");
		String xmqk01078=request.getParameter("XMQK01078");
		String xmqk01079=request.getParameter("XMQK01079");
		String xmqk01080=request.getParameter("XMQK01080");
		String xmqk01081=request.getParameter("XMQK01081");
		String xmqk01082=request.getParameter("XMQK01082");
		String xmqk01083=request.getParameter("XMQK01083");
		String xmqk01084=request.getParameter("XMQK01084");
		String xmqk01085=request.getParameter("XMQK01085");
		Double xmqk01086=Double.valueOf(request.getParameter("XMQK01086").equals("")?"0":request.getParameter("XMQK01086")).doubleValue();
		String xmqk01087=request.getParameter("XMQK01087");
		String xmqk01088=request.getParameter("XMQK01088");
		String xmqk01089=request.getParameter("XMQK01089");
		String xmqk01090=request.getParameter("XMQK01090");
		String xmqk01091=request.getParameter("XMQK01091");
		String xmqk01092=request.getParameter("XMQK01092");
		String xmqk01093=request.getParameter("XMQK01093");
		String xmqk01094=request.getParameter("XMQK01094");
		String xmqk01095=request.getParameter("XMQK01095");
		String xmqk01096=request.getParameter("XMQK01096");
		String xmqk01097=request.getParameter("XMQK01097");
		String xmqk01098=request.getParameter("XMQK01098");
		Double xmqk01099=Double.valueOf(request.getParameter("XMQK01099").equals("")?"0":request.getParameter("XMQK01099")).doubleValue();
		String xmqk01100=request.getParameter("XMQK01100");
		String xmqk01101=request.getParameter("XMQK01101");
		String xmqk01102=request.getParameter("XMQK01102");
		String xmqk01103=request.getParameter("XMQK01103");
		String xmqk01104=request.getParameter("XMQK01104");
		String xmqk01105=request.getParameter("XMQK01105");
		String xmqk01106=request.getParameter("XMQK01106");
		String xmqk01107=request.getParameter("XMQK01107");
		String xmqk01108=request.getParameter("XMQK01108");
		String xmqk01109=request.getParameter("XMQK01109");
		String xmqk01110=request.getParameter("XMQK01110");
		String xmqk01111=request.getParameter("XMQK01111");
		Double xmqk01112=Double.valueOf(request.getParameter("XMQK01112").equals("")?"0":request.getParameter("XMQK01112")).doubleValue();
		String xmqk01113=request.getParameter("XMQK01113");
		String xmqk01114=request.getParameter("XMQK01114");
		String xmqk01115=request.getParameter("XMQK01115");
		String xmqk01116=request.getParameter("XMQK01116");
		String xmqk01117=request.getParameter("XMQK01117");
		String xmqk01118=request.getParameter("XMQK01118");
		String xmqk01119=request.getParameter("XMQK01119");
		String xmqk01120=request.getParameter("XMQK01120");
		String xmqk01121=request.getParameter("XMQK01121");
		String xmqk01122=request.getParameter("XMQK01122");
		String xmqk01123=request.getParameter("XMQK01123");
		String xmqk01124=request.getParameter("XMQK01124");
		String xmqk01125=request.getParameter("XMQK01125");
		String xmqk01126=request.getParameter("XMQK01126");
		String xmqk01127=request.getParameter("XMQK01127");
		Integer xmqk01128=Integer.parseInt(request.getParameter("XMQK01128").equals("")?"0":request.getParameter("XMQK01128"));
		Integer xmqk01129=Integer.parseInt(request.getParameter("XMQK01129").equals("")?"0":request.getParameter("XMQK01129"));
		Integer xmqk01130=Integer.parseInt(request.getParameter("XMQK01130").equals("")?"0":request.getParameter("XMQK01130"));
		Integer xmqk01131=Integer.parseInt(request.getParameter("XMQK01131").equals("")?"0":request.getParameter("XMQK01131"));
		String xmqk01132=request.getParameter("XMQK01132");
		Integer xmqk01133=Integer.parseInt(request.getParameter("XMQK01133").equals("")?"0":request.getParameter("XMQK01133"));
		Integer xmqk01134=Integer.parseInt(request.getParameter("XMQK01134").equals("")?"0":request.getParameter("XMQK01134"));
		String xmqk01135=request.getParameter("XMQK01135");
		String xmqk01136=request.getParameter("XMQK01136");
		String xmqk01137=request.getParameter("XMQK01137");
		
		xmqk01.setXmqk01002(xmqk01002);
		xmqk01.setXmqk01003(xmqk01003);
		xmqk01.setXmqk01004(xmqk01004);
		xmqk01.setXmqk01005(xmqk01005);
		xmqk01.setXmqk01006(xmqk01006);
		xmqk01.setXmqk01007(xmqk01007);
		xmqk01.setXmqk01008(xmqk01008);
		xmqk01.setXmqk01009(xmqk01009);
		xmqk01.setXmqk01010(xmqk01010);
		xmqk01.setXmqk01011(xmqk01011);
		xmqk01.setXmqk01012(xmqk01012);
		xmqk01.setXmqk01013(xmqk01013);
		xmqk01.setXmqk01014(xmqk01014);
		xmqk01.setXmqk01015(xmqk01015);
		xmqk01.setXmqk01016(xmqk01016);
		xmqk01.setXmqk01017(xmqk01017);
		xmqk01.setXmqk01018(xmqk01018);
		xmqk01.setXmqk01019(xmqk01019);
		xmqk01.setXmqk01020(xmqk01020);
		xmqk01.setXmqk01021(xmqk01021);
		xmqk01.setXmqk01022(xmqk01022);
		xmqk01.setXmqk01023(xmqk01023);
		xmqk01.setXmqk01024(xmqk01024);
		xmqk01.setXmqk01025(xmqk01025);
		xmqk01.setXmqk01026(xmqk01026);
		xmqk01.setXmqk01027(xmqk01027);
		xmqk01.setXmqk01028(xmqk01028);
		xmqk01.setXmqk01029(xmqk01029);
		xmqk01.setXmqk01030(xmqk01030);
		xmqk01.setXmqk01031(xmqk01031);
		xmqk01.setXmqk01032(xmqk01032);
		xmqk01.setXmqk01033(xmqk01033);
		xmqk01.setXmqk01034(xmqk01034);
		xmqk01.setXmqk01035(xmqk01035);
		xmqk01.setXmqk01036(xmqk01036);
		xmqk01.setXmqk01037(xmqk01037);
		xmqk01.setXmqk01038(xmqk01038);
		xmqk01.setXmqk01039(xmqk01039);
		xmqk01.setXmqk01040(xmqk01040);
		xmqk01.setXmqk01041(xmqk01041);
		xmqk01.setXmqk01042(xmqk01042);
		xmqk01.setXmqk01043(xmqk01043);
		xmqk01.setXmqk01044(xmqk01044);
		xmqk01.setXmqk01045(xmqk01045);
		xmqk01.setXmqk01046(xmqk01046);
		xmqk01.setXmqk01047(xmqk01047);
		xmqk01.setXmqk01048(xmqk01048);
		xmqk01.setXmqk01049(xmqk01049);
		xmqk01.setXmqk01050(xmqk01050);
		xmqk01.setXmqk01051(xmqk01051);
		xmqk01.setXmqk01052(xmqk01052);
		xmqk01.setXmqk01053(xmqk01053);
		xmqk01.setXmqk01054(xmqk01054);
		xmqk01.setXmqk01055(xmqk01055);
		xmqk01.setXmqk01056(xmqk01056);
		xmqk01.setXmqk01057(xmqk01057);
		xmqk01.setXmqk01058(xmqk01058);
		xmqk01.setXmqk01059(xmqk01059);
		xmqk01.setXmqk01060(xmqk01060);
		xmqk01.setXmqk01061(xmqk01061);
		xmqk01.setXmqk01062(xmqk01062);
		xmqk01.setXmqk01063(xmqk01063);
		xmqk01.setXmqk01064(xmqk01064);
		xmqk01.setXmqk01065(xmqk01065);
		xmqk01.setXmqk01066(xmqk01066);
		xmqk01.setXmqk01067(xmqk01067);
		xmqk01.setXmqk01068(xmqk01068);
		xmqk01.setXmqk01069(xmqk01069);
		xmqk01.setXmqk01070(xmqk01070);
		xmqk01.setXmqk01071(xmqk01071);
		xmqk01.setXmqk01072(xmqk01072);
		xmqk01.setXmqk01073(xmqk01073);
		xmqk01.setXmqk01074(xmqk01074);
		xmqk01.setXmqk01075(xmqk01075);
		xmqk01.setXmqk01076(xmqk01076);
		xmqk01.setXmqk01077(xmqk01077);
		xmqk01.setXmqk01078(xmqk01078);
		xmqk01.setXmqk01079(xmqk01079);
		xmqk01.setXmqk01080(xmqk01080);
		xmqk01.setXmqk01081(xmqk01081);
		xmqk01.setXmqk01082(xmqk01082);
		xmqk01.setXmqk01083(xmqk01083);
		xmqk01.setXmqk01084(xmqk01084);
		xmqk01.setXmqk01085(xmqk01085);
		xmqk01.setXmqk01086(xmqk01086);
		xmqk01.setXmqk01087(xmqk01087);
		xmqk01.setXmqk01088(xmqk01088);
		xmqk01.setXmqk01089(xmqk01089);
		xmqk01.setXmqk01090(xmqk01090);
		xmqk01.setXmqk01091(xmqk01091);
		xmqk01.setXmqk01092(xmqk01092);
		xmqk01.setXmqk01093(xmqk01093);
		xmqk01.setXmqk01094(xmqk01094);
		xmqk01.setXmqk01095(xmqk01095);
		xmqk01.setXmqk01096(xmqk01096);
		xmqk01.setXmqk01097(xmqk01097);
		xmqk01.setXmqk01098(xmqk01098);
		xmqk01.setXmqk01099(xmqk01099);
		xmqk01.setXmqk01100(xmqk01100);
		xmqk01.setXmqk01101(xmqk01101);
		xmqk01.setXmqk01102(xmqk01102);
		xmqk01.setXmqk01103(xmqk01103);
		xmqk01.setXmqk01104(xmqk01104);
		xmqk01.setXmqk01105(xmqk01105);
		xmqk01.setXmqk01106(xmqk01106);
		xmqk01.setXmqk01107(xmqk01107);
		xmqk01.setXmqk01108(xmqk01108);
		xmqk01.setXmqk01109(xmqk01109);
		xmqk01.setXmqk01110(xmqk01110);
		xmqk01.setXmqk01111(xmqk01111);
		xmqk01.setXmqk01112(xmqk01112);
		xmqk01.setXmqk01113(xmqk01113);
		xmqk01.setXmqk01114(xmqk01114);
		xmqk01.setXmqk01115(xmqk01115);
		xmqk01.setXmqk01116(xmqk01116);
		xmqk01.setXmqk01117(xmqk01117);
		xmqk01.setXmqk01118(xmqk01118);
		xmqk01.setXmqk01119(xmqk01119);
		xmqk01.setXmqk01120(xmqk01120);
		xmqk01.setXmqk01121(xmqk01121);
		xmqk01.setXmqk01122(xmqk01122);
		xmqk01.setXmqk01123(xmqk01123);
		xmqk01.setXmqk01124(xmqk01124);
		xmqk01.setXmqk01125(xmqk01125);
		xmqk01.setXmqk01126(xmqk01126);
		xmqk01.setXmqk01127(xmqk01127);
		xmqk01.setXmqk01128(xmqk01128);
		xmqk01.setXmqk01129(xmqk01129);
		xmqk01.setXmqk01130(xmqk01130);
		xmqk01.setXmqk01131(xmqk01131);
		xmqk01.setXmqk01132(xmqk01132);
		xmqk01.setXmqk01133(xmqk01133);
		xmqk01.setXmqk01134(xmqk01134);
		xmqk01.setXmqk01135(xmqk01135);
		xmqk01.setXmqk01136(xmqk01136);
		xmqk01.setXmqk01137(xmqk01137);
		
		boolean flag=sys.AddXmqk(xmqk01);
		if(flag==true)
		{
			response.getWriter().write("true");
		}else{
			response.getWriter().write("false");
		}
	}

}
